/*****************************************************************************/
/**
*
* @file uinterrupt.h
*
* Header file for uinterrupt.c.
*
* <pre>
* MODIFICATION HISTORY:
*
* Ver   Who    Date   	Changes
* ----- ---- ---------- -------------------------------------------------------
* 0.01  abu  01/28/2019 File created.
* </pre>
*
******************************************************************************/
#ifndef UINTERRPT_H		/* prevent circular inclusions */
#define UINTERRPT_H		/* by using protection macros */
	
#ifdef __cplusplus
	extern "C" {
#endif

/***************************** Include Files *********************************/
#include "xil_exception.h"
#include "xscugic.h"

/************************** Constant Definitions *****************************/

/**************************** Type Definitions *******************************/

/***************** Macros (Inline Functions) Definitions *********************/
#define uScugic_DevId XPAR_PS7_SCUGIC_0_DEVICE_ID

//IDs of interrupts
#define uGpioPsIntrID 52U


/************************** Variable Definitions *****************************/
XScuGic uScuGic;
XScuGic *uScuGic_Ptr = &uScuGic;

/************************** Function Prototypes ******************************/
void uScugicInit(XScuGic *InstancePtr);


#ifdef __cplusplus
}
#endif

#endif
